﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Page.Master" AutoEventWireup="true" CodeBehind="AddPolicy.aspx.cs" Inherits="HealthInsuranceMgm.Admin.AddPolicy" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   
     <script src="../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.validate.min.js" type="text/javascript"></script>
    <link href="../Styles/styleJs.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript">
       $(document).ready(function () {
           $("#frmaddpolicy").validate({
               errorElement: "span"
           });

       });
    </script>
<form id="frmaddpolicy" runat="server">
    <fieldset style="border:ridge ">
        <legend><h3>Add Policy</h3></legend>
        <table>
            <tr>
                <td>Policy type Name:</td>
                 <td>
                     <asp:TextBox ID="txtpolicyName" CssClass="required" runat="server"></asp:TextBox></td>
            </tr>
             <tr>
                <td>Policy Description:</td>
                 <td><asp:TextBox ID="txtPoDescripton" CssClass="required" runat="server" Height="95px" TextMode="MultiLine" 
                         Width="234px"></asp:TextBox></td>
            </tr>
             <tr>
                <td>Policy Amount:</td>
                 <td><asp:TextBox ID="txtAmount" CssClass="required number" runat="server"></asp:TextBox></td>
            </tr>
             <tr>
                <td>Policy Emi:</td>
                 <td><asp:TextBox ID="txtEmi" runat="server" CssClass="required number" Width="191px"></asp:TextBox></td>
            </tr>
              <tr>
                <td>Company Id:</td>
                 <td>
                     <asp:DropDownList ID="ddlCompanyId" runat="server">
                         <asp:ListItem></asp:ListItem>
                     </asp:DropDownList>
                 </td>
            </tr>
              <tr>
                <td>Medical ID:</td>
                 <td><asp:TextBox ID="txtMedicalId" CssClass="required number" runat="server" Width="191px"></asp:TextBox></td>
            </tr>
             <tr>
                <td></td>
                 <td>
                     <asp:Button ID="btnAdd" runat="server" Text="Add" onclick="btnAdd_Click" />
                     <asp:Button ID="btnReset" runat="server" Text="Reset" />
                     <a href="Listpolicy.aspx">List Policy</a>
                 </td>
            </tr>
             <tr>
                <td></td>
                 <td></td>
            </tr>
        </table>
    </fieldset>
    </form>
</asp:Content>
